package mnn;

/*
 This program is written by Ahmed Medhat Ahmed
 Egypt
 Alexandria Universty
 Faculty of Science
 Computer Science
 7-7-2007
 a.medhat.cs@gmail.com
 ama_compsc@yahoo.com
 */

import java.io.Serializable;

public class StructuerNN implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4180991531962667449L;
	private int INPUT; // default input neurons
	private int OUTPUT; // default output neurons
	private int HIDDENLAYER; // default hidden layers
	private int HIDDENNEURON; // default hidden neurons per layer
	private double LEARNINGRATE;
	private double MOMENTUMRATE;

	public StructuerNN() {

	}

	public StructuerNN(int in, int out, int hl, int hn, double lr, double mr) {
		setinput(in);
		setoutput(out);
		sethl(hl);
		sethn(hn);
		setlr(lr);
		setmr(mr);
	}

	public int gethl() {
		return HIDDENLAYER;
	}

	public int gethn() {
		return HIDDENNEURON;
	}

	/* ///**************************************************** *//* / */
	public int getinput() {
		return INPUT;
	}

	public double getlr() {
		return LEARNINGRATE;
	}

	public double getmr() {
		return MOMENTUMRATE;
	}

	public int getoutput() {
		return OUTPUT;
	}

	public void sethl(int hl) {
		HIDDENLAYER = hl;
	}

	public void sethn(int hn) {
		HIDDENNEURON = hn;
	}

	public void setinput(int in) {
		INPUT = in;
	}

	public void setlr(double lr) {
		LEARNINGRATE = lr;
	}

	public void setmr(double mr) {
		MOMENTUMRATE = mr;
	}

	public void setoutput(int out) {
		OUTPUT = out;
	}

}